package com.xthh._struct;


import com.xthh._enum.HH_EnumLightType;

public class HH_T_LightControlStateTask {

    int controlType;// 0获取 ，1灭，2亮
    HH_EnumLightType lightType;// 灯编号，1红，2绿，3蓝，4黄，5紫，6青，7白，8前光，
    int durationSeconds;  // 亮灯或灭灯时间（单位s），若为0x0000则表示常亮或常灭

    public HH_T_LightControlStateTask() {
    }

    public HH_T_LightControlStateTask(int controlType, HH_EnumLightType lightType, int durationSeconds) {
        this.controlType = controlType;
        this.lightType = lightType;
        this.durationSeconds = durationSeconds;
    }

    public HH_EnumLightType getLightType() {
        return lightType;
    }

    public void setLightType(HH_EnumLightType lightType) {
        this.lightType = lightType;
    }

    public int getControlType() {
        return controlType;
    }

    public void setControlType(int controlType) {
        this.controlType = controlType;
    }


    public int getDurationSeconds() {
        return durationSeconds;
    }

    public void setDurationSeconds(int durationSeconds) {
        this.durationSeconds = durationSeconds;
    }

}
